package com.yuerlive.rainbow.api;

import com.yuerlive.rainbow.API;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.MyFansData;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by Admin on 2017/6/1.
 */

public interface AttentionService {
    @FormUrlEncoded
    @POST(API.MY_SUBCRIBLE)
    Observable<BaseData<MyFansData>> getMyAttention(@FieldMap Map<String ,String> params);
    @FormUrlEncoded
    @POST(API.SUBSCRIBE)
    Observable<BaseData>  subscribe(@FieldMap Map<String,String> params);
}
